import java.util.*;

public class Main {
    public static void main(String[] args)
    {
        Scanner cin = new Scanner(System.in);

        int n = cin.nextInt();
        int arr[] = new int[n];

        for(int i =0;i<n;i++)
            arr[i] = cin.nextInt();

        Arrays.sort(arr);

        for(int i =n-1;i>=0;i--)
        {
            if(i!=0)
                System.out.print(arr[i]+" ");
            else
                System.out.print(arr[i]);
        }

        cin.close();
    }
}